var express = require('express');
var router = express.Router();

/* GET users listing. */
router.get('/', function (req, res, next) {
  var userName = req.session.userName;
  // 获取登录信息
  res.send({
    status: 200,
    msg: '成功',
    data: {
      userName: userName
    }
  });
});

module.exports = router;